import { $get } from "../utils/request.ts";
//查询所有酒店信息
export const $showHotel = async () => {
    const ret = await $get("/hotel/findAll");
    return ret;
}
//根据酒店id查询酒店信息
export const $findHotelById = async (params:object) => {
    const ret = await $get("/hotel/findHotelById",params);
    return ret;
}